#ifndef USER_PERSISTENCE_H
#define USER_PERSISTENCE_H

#include <string>
#include <vector>
#include "user.h"

class UserFileManager {
private:
    std::string filename;

public:
    UserFileManager(const std::string& filename);

    std::vector<User*> loadUsers();
    void saveUsers(const std::vector<User*>& users);
};

#endif // USER_PERSISTENCE_H    